import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:myflutterproject/routes.dart';
import 'package:myflutterproject/textwidget.dart';

import 'itembutton.dart';

class ChipDemo extends StatelessWidget{
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Chip总结'),
        centerTitle: true,
      ),
      body: Center(
        child: Column(
          mainAxisSize: MainAxisSize.min,
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            ItemButton('Chip',normalchip),
            TextWidget('扩展类:'),
            ItemButton('ActionChip',actionchipdemo),
            ItemButton('ChoiceChip',choicechipdemo),
            ItemButton('FilterChip',filterchipdemo),
            ItemButton('InputChip',inputchipdemo),
          ],
        ),

      ),
    );
  }
  
}